package mn.idax.exchange.otc.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Auther: dison
 * @Date: 2018/8/6 18:57
 * @Description:
 */
@Data
@Component
@PropertySource(value = "classpath:common.properties",encoding = "UTF-8")
@ConfigurationProperties(prefix = "oss.service")
public class AliyunOSSConfig {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    // 空间名称
    private String bucketName;

    // 设置防盗链列表
    private String referers;

    // 设置防盗链开关
    private String referersSwitch;



}
